package dao.impl;

import java.util.List;

import org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import dao.tSlideImgDao;
import entity.tSlideImg;

public class tSlideImgDaoImpl extends HibernateDaoSupport implements tSlideImgDao{

	public void add(tSlideImg tsi) {
		this.getHibernateTemplate().save(tsi);
		
	}

	public void del(tSlideImg tsi) {
		this.getHibernateTemplate().delete(tsi);
		
	}

	public List<tSlideImg> get(String hql) {
		return this.getHibernateTemplate().find(hql);
	}

}
